package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 风场设备对象 sys_equipment
 * 
 * @author ruoyi
 * @date 2023-12-01
 */
public class SysEquipment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 设备id */
    private Long id;

    /** 设备名称 */
    @Excel(name = "设备名称")
    private String equipmentName;

    /** 设备类型 */
    @Excel(name = "设备类型")
    private String equipmentType;

    /** 生产厂家设备型号 */
    @Excel(name = "生产厂家设备型号")
    private String manufacturer;

    /** 设备状态 */
    @Excel(name = "设备状态")
    private String status;

    /** 安装时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "安装时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date setupDate;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    /** 机组id */
    @Excel(name = "机组id")
    private Long setId;

    /** 风场id */
    @Excel(name = "风场id")
    private Long windId;

    /** 使用周期 */
    @Excel(name = "使用周期")
    private String usePeriod;

    /** 安装地点 */
    @Excel(name = "安装地点")
    private String setupAddress;

    /** 安装调试 */
    @Excel(name = "安装调试")
    private String setupDebugg;

    /** 试运行情况 */
    @Excel(name = "试运行情况")
    private String operateInfo;

    /** 备件数量 */
    @Excel(name = "备件数量")
    private Long spareNum;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setEquipmentName(String equipmentName) 
    {
        this.equipmentName = equipmentName;
    }

    public String getEquipmentName() 
    {
        return equipmentName;
    }
    public void setEquipmentType(String equipmentType) 
    {
        this.equipmentType = equipmentType;
    }

    public String getEquipmentType() 
    {
        return equipmentType;
    }
    public void setManufacturer(String manufacturer) 
    {
        this.manufacturer = manufacturer;
    }

    public String getManufacturer() 
    {
        return manufacturer;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setSetupDate(Date setupDate) 
    {
        this.setupDate = setupDate;
    }

    public Date getSetupDate() 
    {
        return setupDate;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }
    public void setSetId(Long setId) 
    {
        this.setId = setId;
    }

    public Long getSetId() 
    {
        return setId;
    }
    public void setWindId(Long windId) 
    {
        this.windId = windId;
    }

    public Long getWindId() 
    {
        return windId;
    }
    public void setUsePeriod(String usePeriod) 
    {
        this.usePeriod = usePeriod;
    }

    public String getUsePeriod() 
    {
        return usePeriod;
    }
    public void setSetupAddress(String setupAddress) 
    {
        this.setupAddress = setupAddress;
    }

    public String getSetupAddress() 
    {
        return setupAddress;
    }
    public void setSetupDebugg(String setupDebugg) 
    {
        this.setupDebugg = setupDebugg;
    }

    public String getSetupDebugg() 
    {
        return setupDebugg;
    }
    public void setOperateInfo(String operateInfo) 
    {
        this.operateInfo = operateInfo;
    }

    public String getOperateInfo() 
    {
        return operateInfo;
    }
    public void setSpareNum(Long spareNum) 
    {
        this.spareNum = spareNum;
    }

    public Long getSpareNum() 
    {
        return spareNum;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("equipmentName", getEquipmentName())
            .append("equipmentType", getEquipmentType())
            .append("manufacturer", getManufacturer())
            .append("status", getStatus())
            .append("setupDate", getSetupDate())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("setId", getSetId())
            .append("windId", getWindId())
            .append("usePeriod", getUsePeriod())
            .append("setupAddress", getSetupAddress())
            .append("setupDebugg", getSetupDebugg())
            .append("operateInfo", getOperateInfo())
            .append("spareNum", getSpareNum())
            .toString();
    }
}
